

package com.example.wtx.Constants;

/**
 * @author lengleng
 * @date 2019/2/1
 */
public interface CommonConstants {
    /**
     * 删除
     */
    public static final String STATUS_DEL = "1";
    /**
     * 正常
     */
    public static final String STATUS_NORMAL = "0";

    /**
     * 锁定
     */
    public static final String STATUS_LOCK = "9";

    /**
     * 菜单树根节点
     */
    public static final Integer MENU_TREE_ROOT_ID = -1;

    /**
     * 菜单
     */
    public static final String MENU = "0";

    /**
     * 编码
     */
    public static final String UTF8 = "UTF-8";

    /**
     * JSON 资源
     */
    public static final String CONTENT_TYPE = "application/json; charset=utf-8";

    /**
     * 前端工程名
     */
    public static final String FRONT_END_PROJECT = "bot-ui";

    /**
     * 后端工程名
     */
    public static final String BACK_END_PROJECT = "bot";

    /**
     * 成功标记
     */
    public static final Integer SUCCESS = 0;
    /**
     * 失败标记
     */
    public static final Integer FAIL = 1;

    /**
     * 失败日志
     */
    public static final String LOG_TYPE_FAIL = "1";

    /**
     * 验证码前缀
     */
    public static final String DEFAULT_CODE_VALUE = "DEFAULT_CODE_VALUE_";

    /**
     * 当前页
     */
    public static final String CURRENT = "current";

    /**
     * size
     */
    public static final String SIZE = "size";

    /**
     * win 系统
     */
    public static final String WIN = "win";

    /**
     * mac 系统
     */
    public static final String MAC = "mac";

}
